package com.xhcl.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xhcl.common.annotation.Excel;
import com.xhcl.common.core.domain.TreeEntity;

/**
 * 会计科目对象 t_gg_kmdm
 * 
 * @author xhcl
 * @date 2020-08-25
 */
public class TGgKmdm extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 年度 */
    private Long nd;

    /** 科目代码 */
    private String kmdm;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String kmmc;

    /** 科目类型 1资产　2负债 3净资产  4收入 5支出 */
    @Excel(name = "科目类型 1资产　2负债 3净资产  4收入 5支出")
    private Long kmlx;

    /** 借贷方向　1借  -1贷  2借或贷 */
    @Excel(name = "借贷方向　1借  -1贷  2借或贷")
    private Long jdfx;

    /** 科目级别 */
    @Excel(name = "科目级别")
    private Long kmjb;

    /** 科目结构 */
    @Excel(name = "科目结构")
    private String kmjg;

    /** 是否有下级　1是　0否 */
    @Excel(name = "是否有下级　1是　0否")
    private Long sfmj;

    /** 是否辅助核算单位 0 不需辅助核算1会计科目-单位2 会计科目-单位-预算科目3 会计科目-预算科目 */
    @Excel(name = "是否辅助核算单位 0 不需辅助核算1会计科目-单位2 会计科目-单位-预算科目3 会计科目-预算科目")
    private Long fzhsdw;

    /** 科目别名 */
    @Excel(name = "科目别名")
    private String kmbm;

    /** 上级科目代码 */
    @Excel(name = "上级科目代码")
    private String sjkmdm;
    
    /** 上级科目代码 */
    @Excel(name = "上级科目名称")
    private String sjkmmc;
    

    public void setNd(Long nd) 
    {
        this.nd = nd;
    }

    public Long getNd() 
    {
        return nd;
    }
    public void setKmdm(String kmdm) 
    {
        this.kmdm = kmdm;
    }

    public String getKmdm() 
    {
        return kmdm;
    }
    public void setKmmc(String kmmc) 
    {
        this.kmmc = kmmc;
    }

    public String getKmmc() 
    {
        return kmmc;
    }
    public void setKmlx(Long kmlx) 
    {
        this.kmlx = kmlx;
    }

    public Long getKmlx() 
    {
        return kmlx;
    }
    public void setJdfx(Long jdfx) 
    {
        this.jdfx = jdfx;
    }

    public Long getJdfx() 
    {
        return jdfx;
    }
    public void setKmjb(Long kmjb) 
    {
        this.kmjb = kmjb;
    }

    public Long getKmjb() 
    {
        return kmjb;
    }
    public void setKmjg(String kmjg) 
    {
        this.kmjg = kmjg;
    }

    public String getKmjg() 
    {
        return kmjg;
    }
    public void setSfmj(Long sfmj) 
    {
        this.sfmj = sfmj;
    }

    public Long getSfmj() 
    {
        return sfmj;
    }
    public void setFzhsdw(Long fzhsdw) 
    {
        this.fzhsdw = fzhsdw;
    }

    public Long getFzhsdw() 
    {
        return fzhsdw;
    }
    public void setKmbm(String kmbm) 
    {
        this.kmbm = kmbm;
    }

    public String getKmbm() 
    {
        return kmbm;
    }
    public void setSjkmdm(String sjkmdm) 
    {
        this.sjkmdm = sjkmdm;
    }

    public String getSjkmdm() 
    {
        return sjkmdm;
    }

    public String getSjkmmc() {
		return sjkmmc;
	}

	public void setSjkmmc(String sjkmmc) {
		this.sjkmmc = sjkmmc;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nd", getNd())
            .append("kmdm", getKmdm())
            .append("kmmc", getKmmc())
            .append("kmlx", getKmlx())
            .append("jdfx", getJdfx())
            .append("kmjb", getKmjb())
            .append("kmjg", getKmjg())
            .append("sfmj", getSfmj())
            .append("fzhsdw", getFzhsdw())
            .append("kmbm", getKmbm())
            .append("sjkmdm", getSjkmdm())
            .toString();
    }
}
